package dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import entity.Working;

public interface WorkingMapper {
	
	public List<Working> getList();
	
	public Working getWorking(@Param("id") int id);
	
	public int save(Working w);

	public int getCount(@Param("title") String title);

	/**
	 * 获取总记录数
	 * @return
	 */
	public int getTotalCount();

	/**
	 * 查询所有工作笔记信息
	 * @return
	 */
	public List<Working> getListPage(@Param("beginIndex") int beginIndex,@Param("pageSize") int pageSize);
}
